package com.xxgc.cloud.springcloudgateway;

import com.xxgc.cloud.common.redis.EnableRedisClient;
import com.xxgc.cloud.common.shiro.EnableShiro;
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@EnableDubbo
@EnableRedisClient
@EnableShiro

@SpringBootApplication
@EnableDiscoveryClient //开启服务发现
public class SpringCloudGatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringCloudGatewayApplication.class, args);
    }

}
